package com.hyxf.domain.cluster;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 端口角色权限
 * @author 阿紫
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_client")
public class ClusterUserClient {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 哪一端：外部端口
     */
    private String terminalSource;

    /**
     * 状态：0-正常、1-异常
     */
    private Integer state;

    /**
     * 外部账号id
     */
    private Long userInfoId;

    /**
     * 阿紫传奇唯一qcId
     */
    private Long qcId;

    @TableLogic
    private Long isDelete;
}
